# api1/urls.py
from django.urls import path
from .views import *

# app_name = 'api1'
# urlpatterns = [
#     # path('url_name', api_name)
#     # 这是一个样例，指定路由名为url_name，对应处理函数为当前app内views.py中的api_name
#     path('story', story),
#     path('storyspec', story_spec),
#     path('testresult', test_result)
# ]
from django.urls import path, include
from .views import task_template, story_template, import_task_template, import_story_template,\
    task_estimate_template,import_task_estimate_template

urlpatterns = [
    path('template/task', task_template, name='task_template'),
    path('template/story', story_template, name='story_template'),
    path('template/task_estimate', task_estimate_template, name='task_estimate_template'),
    path('import/task', import_task_template, name='import_task_template'),
    path('import/task_estimate', import_task_estimate_template, name='import_task_estimate_template'),
    path('import/story', import_story_template, name='import_story_template')
]